package com.java.oop.work.sj1.no1;

import java.util.Map;

public class MainTest {

    public static void main(String[] args) {
        Library library = new Library();

        library.addBook(new Book("java", "gaosilin", 50));
        library.addBook(new Book("java2", "gaosilin", 50));
        Map<String, Book> stringBookMap = library.queryMap();
        Book java = library.getBookByName("java");
        library.removeBook("name");
    }
}
